<?php
class ui_a_set_to_pass extends ui {
	/**
	 *
	 * @param unknown_type $S
	 * @param unknown_type $param = array (
	 * 		id
	 * )
	 */
	public function __construct($S, $param) {
		parent::__construct();
		
		$data_admin_article = new data_admin_article();
		$data = $data_admin_article->set_to_pass($param['id']);
		
		if ($data) {
			$S->assign('data', 'true');
		} else {
			$S->assign('data', 'false');
		}
		
	}
}
?>